package top.likeqc.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 目标支撑(目标-课程指标点)
 * </p>
 *
 * @author likeqc
 * @since 2022-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TargetPoint implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 目标id
     */
    private Long targetId;

    /**
     * 指标点id
     */
    private Long pointId;

    /**
     * 权重
     */
    private Integer weight;

    /**
     * 目标信息
     */
    @TableField(exist = false)
    private Target target;

    /**
     * 指标点信息
     */
    @TableField(exist = false)
    private Point point;



}
